﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using dto;
using bus;
namespace HOANGVIET
{
    public partial class DANHS_ACH_LOP : Form
    {
        public DANHS_ACH_LOP(KetNoiDto ketnoi)
        {
            InitializeComponent();
            lophocBUS = new LOPHOCBus(ketnoi);
            lophocDTO = new LOPHOCdto();
            caphocBUS = new CAPHOCBus(ketnoi);
            caphocDTO = new CAPHOCdto();
            kn = ketnoi;
        }
        #region bien
        KetNoiDto kn;
        LOPHOCBus lophocBUS;
        LOPHOCdto lophocDTO;
        CAPHOCBus caphocBUS;
        CAPHOCdto caphocDTO;
        #endregion
        #region ham

        #endregion
        #region su kien
      
        private void đỔITRẠNGTHÁIToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            try
            {
                ThemLop themlop = new ThemLop(kn);
                themlop.ShowDialog();
            }
            catch (Exception)
            {
                
               
            }
        }
        #endregion

        private void toolStripButton2_Click(object sender, EventArgs e)
        {

        }

        private void sỬATHÔNGTINToolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {
                SuaLop sualop = new SuaLop(kn,lophocDTO);
                sualop.ShowDialog();
            }
            catch (Exception)
            {

               
            }
        }

        private void toolStripButton3_Click(object sender, EventArgs e)
        {
            try
            {

            }
            catch (Exception)
            {
                
               
            }
        }

        private void bẮTĐẦUHỌCToolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {

            }
            catch (Exception)
            {
                
               
            }
        }

        private void nGƯNGHỌCToolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {

            }
            catch (Exception)
            {
                
               
            }
        }
    }
}
